﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RaygunDiplomacy.Model.Terrain.Local
{
   public class CellTemplate
   {
      public static readonly CellTemplate AirCell = new CellTemplate(Material.Air, true);

      public Material Material { get; private set; }

      public bool IsTransparent { get; private set; }

      public CellTemplate(Material material, bool isTransparent)
      {
         this.Material = material;
         this.IsTransparent = isTransparent;
      }

      public Cell CreateCell(float density = 1.0f)
      {
         Cell cell = new Cell(this, density);

         return cell;
      }
   }
}
